<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>天宝绿色食品网</title>
<style type="text/css">
.button {
    background-color: #4CAF50; /* Green */
    border: none;
    color: white;
    padding: 15px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
	width:150px;
	height:50px;
}
</style>
<link rel="stylesheet" type="text/css">
<style type="text/css">
a:link {
	color: #000;
	text-decoration: none;
}
a:visited {
	color: #000;
	text-decoration: none;
}
a:hover {
	text-decoration: none;
}
a:active {
	text-decoration: none;
}
</style>
</head>

<body>
<link href="style/xinxi.css" rel="stylesheet" type="text/css">
<link href="style/logo.css" rel="stylesheet" type="text/css" />
</head>

<body>
<div class="container">
<!--导航栏-->
<link href="style/aa.css" rel="stylesheet" type="text/css" />
  <ul class="menu">
    <li><a href="denglu.php" style="color:#FFF">会员登录</a></li>
    <li><a href="zhuce.php" style="color:#FFF">免费注册</a></li>
    <li><img src="img/1.jpg" width="180" height="19px" /></li>
    <li><a href="food.php" style="color:#FFF">首页</a></li>
    <li class="has-submenu">推荐食品
      <ul>
        <li><a href="food.php?style=水果" style="color:#fff">新鲜水果</a></li>
        <li><a href="food.php?style=蔬菜" style="color:#FFF">营养蔬菜</a></li>
      </ul>
    </li>
    <li><a href="zixun.php" style="color:#FFF">食品咨询</a></li>
    <li><a href="liuyan.php" style="color:#FFF">留言反馈</a></li>
	<li><a style="color:#FFF">关于我们</a></li>
  </ul>
</div>
<div>


</div>
<!--logo和搜索框-->
<link href="http://cdn.bootcss.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet">
<div class="logo_bg">
<div class="div3"><img src="LOGO/logo.png" width="200px" height="90px" class="img"/></div>
<div id="container">
    <div class="search bar3">
        <form>
            <input type="text" placeholder="请输入您要搜索的绿色食品...">
            <button type="submit"></button>
        </form>
    </div>
</div>
</div>
<table width="1000" border="0" height="100">
  <tr>
    <td width="152" align="left"><a href="food.php">首页</a>&gt;<a href="xinxi.php">详细信息</a></td>
    <td width="838" align="left">&nbsp;</td>
  </tr>
</table>
<?php
include("conn/conn.php");
$id_v=$_GET[id1];
$id_t=$_GET[id2];
$sql="select * from tb_video where id=".$id_v;
if($id_v==""){

$sql="select * from tb_greenfood where id=".$id_t;
}
$result_v=mysqli_query($link,$sql);
if(mysqli_num_rows($result_v)>0){
	$row_v=mysqli_fetch_assoc($result_v);
?>
<table width="1000" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td colspan="2" class="title"></td>
  </tr>
  <tr>
    <td width="365" height="400" rowspan="6" align="left">
    <img src="upfiles/video/<?=$row_v[picture]?>" width="356" height="400"/></td>
    <td height="44" align="left" class="biaoti"><?=$row_v[remark]?></td>
  </tr>
  <tr>
    <td height="57" align="left" style="text-align:left"><a style="color: #000; font-weight: bold;"><strong>价格</a><a style="color:#F90">¥:
    <?=$row_v[price]?>
    <strong>元</strong>[包邮]</a></td>
  </tr>
  <tr>
    <td height="30" style="text-align:left">发货地址:<?=$row_v[froms]?></td>
  </tr>
  <tr>
    <td style="text-align:left">详细介绍</td>
    <td width="95">&nbsp;</td>
  </tr>
  <tr>
    <td height="47" style="text-align:left"><a style="font-size:16px;"><?=$row_v[intro]?></a></td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td><a href="gouma.php"><input type="submit" name="button" id="button" value="立刻购买" class="button"></a></td>
    </td>
    <td width="5">&nbsp;</td>
  </tr>
 
</table>
<?php
	}
?>
<table>
<tr>
<td height="50"></td>
</tr>
</table>
<table width="1000" border="0" height="150">
  <tr>
  
    <td align="center" class="banquan"><p>公司名称：天宝绿色食品公司 电话：15565478543 传真：025-12345678 邮</p>
      <p>&nbsp;</p>
      <p>编：426100 版权归天宝绿色食品公司所有 粤ICP备 0703332572号</p></td>
  </tr>
</table>


</body>
</html>